modify function category