fix update speciality bug