update styling and functions