add getType
Update Content provider