update links and image paths and removed most inline styles