agrif library upgrade