changed handler to use sqlmultipaxos