edit function background