update cal method