update console-log snippet