dao of major, and some sample update