added update_with_media api method