added missing test for update