search and edit post