changed datatypes in db model