update caps and generate build script for release version