is_attachment type change