upgrading sample to manifest version 2.0