Update and rename revertsql to ToChrevertsql