change type column to user_type column