topic update function commit