update to newest state