check for existing MySQL updated