mysql insert now does ON DUPLICATE KEY UPDATE. blog editing works