update with logging; use short flag