using on duplicate entry option
adding on duplicate entry setting