update a test class