update p pk script