changed queries implementation in connection and article collection and provided ways for setting fields