add edit post feature