update rollback code