corrected specifics for storing query Objects to the db