update editMode setPaintingVC and MainVC