new post vs update post

form and ruby changes