Updating markup and styles for spin