calculations update