add apm and gpm to table