reorganizing and updating project.db