update style for form