update version
remove deprecation warning from private function