Supposed to work, but not updating the results obtained from editing data