update area selection and remove space