Added ability to update data.