Form not updating in IE or Chrome