Update style and adding pattern in form