rename prev to current