creating the edit button