changed the function of order data update in order to use a local data
cache