add edit and update post to admin