Updated to batch db copy