updated zype gem
modified query