updated readme to include the new callback parameter passed to the custom replace function