update xib (template preview)