updates PSTextField for more dynamic use