update new graph