correct document of adding custom extension

See the changes for the correction