update checkpoint