Updating Dynamic Programming