update model datatypes