add the native routines
update native routine