Updated DB, Changed ReferenceNo to INT(11)