Lock file update