Correcting the methods since the api format has changed