fixed update delete

add/update/delete should all work now