update lock changed