update function calls to show / hide message-box