updates the projection