update console log snippet