<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def image_update_properties(request, image_id, remove_props=None, **kwargs):
 """Add or update a custom property of an image."""

    return glanceclient(request, '2').images.update(image_id,
                                                    remove_props,
                                                    **kwargs)