update css styles for widget