implemented modify multiple rows, need to do some value checking