Dynamic insert and update.