renamed media_id to remote_id