* update routes for localnet, fix bugs