add Dirty module supporting (partial writes)