Using more efficient method to update content type (thanks @jamiehannaford!)