update camera initialization