update raft