updating apam mainpage