changed certain datatypes form string to text in db