lock update