update checkpoint api