tool (prototype state) to lookup and update smartrns database