update content-type for server