Updates lock file