update documentation and styles