update house ranking algorithm