Change fields type