Updated contentType where necessary