Update style and form validation