Data update + localStorage