update methods and model in engine