got edit button working