update testing method