adding test for updating items