replace all from a->b