rebuild application