mysql insert or update if exists multiple rows