Update db design doc, add autoreplies doc type,  always create views when new db