updated setting of insets and outsets