change post status in query