modify doc to version 4