edit button functioning