test and update