Changes to create new query

post/queries