Updates to function with latest release of relato