adds db::instance()->insert() method