Run replace on a string and update it asynchronous