update doc for M2, REST, migrator