Updated updatetest to remove deprecation warning