change create button to edit button when editing task