Change to redirect on previous page after update

And fix an issue using mb strings