rename the type column on the db