update add logging