adding the edit plugin