updateValidity function

update array-movement validity based on the section-movements