update graph problems