obj_major add update function and return latest function