add logging and update video config