updated search for post action