Refine update method and build.