update camera behavior