update response helper