debugging and model updates