changed custom field to id of videos adopted table