updates to ugc edit function