update chain api routes