Added the camera update to the update callback