update sample application