increment duplicate values when inserting