PSTextfield update, prevents null pointer exceptions