got update and delete working