update send image api for ios