Update error obj properties