pos script update