updated data model SQL schema