use correct exception class on update fail