API updates for calculator