update styles for form-images