add client side validation for image data updates