update the margin for title