Added form fields for design updates and reformated code in design model