update project and index