fix bug in update pict helper