update spacing for popups