update orders db