updates customview at same time