Updating statuses for orders