Update project and fix errors.