Add test for updating item