updated messages to console