create simple server and update ht eindex methods.