lock file udpate