fix for update, empty dates