update post margin