Update function and class exposed by module