updae documentation and minor