Clean up comments. Return integer value of userid updated for update_medias