corrected post form, added validation to post update