abstracted edit post activity