update and test