Update documentation
Change the query function to support everything