Added replace methods

to replace any white spaces with underscores so the API can understand
the query. but it doesn't seem to work