update the edit button and make it clickable