rename account number to type