Fix write test and add update test for Access