fixed bug with update select text