update typeSetResponsive function