adds editing of post