updating post edit page