change http interfaces (modify the database query), add some config