Add reverse option
Update demo