Add key sync handler