update flag while fetching projects