updating lock removed