added editing of posts