update the project and cleanup