update
simple refactor