updated website to use new API