add updateapi as a class from natools module