Fixed updating an existing term