added signal emission when adding an 'upgrade action' (DBItem)
created QueryType to parametrize DBItem
used queryType in DBItem method's to get a query