Update rapi and implement more of the chronos api