Add functionality for automatically updating calculations.