update file lock