update margin on post