version 4.0

Updated doc to v4.0