updaet: update date error and the category error