Added update endpoint method for orders