update set PIC function