Bypassing numerical difficulties associated with updating simultaneously mass and stiffness matrices