update query and init order modules