add package db to SmartTerminal