Updates to the api