add a new method to modify inputs in rollback