commit for update post and comment