update the main style