logging and updating tab values