ring middleware as submodule. update ranking algos