Updates style of form