add fields for md and auto privileges