Update lock for phar files.