rename query to postquery