Update style and path