updating widget call sample according to new method name