change type value