Save order to DB functionality updated