Update Margin and position button