Simple SQL now updates when primary key exists