add support for editing post
add support for editing post