update pcs
stop paint when pcs is shown