update post input form