rewrite uci update