write log for routine update