edit post according to official docuemnt