added order update functionality