added update and delete tests