change the edit/show buttons