Style refining
Added state sync