edit function references