Update the positions after the lock end