add attributes to Post