added edit on post (not yet tested)
now able to edit posts