update base function