styling and functional update