use batch update