update graph post and create heap post