updates selection cells