make update more style compatible