Added savechanges to persist the processing