update grahp