add support for optional update_with_media params