switching date to newest db date