update and delete tests