updated podspec and changelog for 4.0.0