updated databased schema model