update calculator by lib