Optimized GameObject update.