Change type data for attachment