update project and db