function import compatibility update