What happened with the edit function