add update code for Order