updates a test