update using new data