date err and update