Corals adapt