update .function package