Updating lockfile before starting work