Updating the editSend function to PUT to the right route