updates post edit form