Databse now Updates Correct Orders