add update subroutines to AGP record