db updates, passenger status, and code refactoring