updating lock file
updating counts