updated camera class