updates to the apis