updates api for new stuff