Update source and styles