update lock, prepare release.