updated form and text fields to work with template