Update api for next session