logging and models update