updates for error