Update patch for terracotta