update log functions