changed model attribute type