guess mime type when updating