made the Complete status of orders updated in the table