Fix magic data path.
Clear dirty list after update.