Db queries updated