update projection matrix