Fixing a scope issue in the updateHandler when cloudinaryImage fields need to flash errors