Updated resourcify gem
Updated gems
Changed queryRecords function definition