applyed new style to post api