Update edit to function similar to delete with URL in href