Update widget text field syntax