update template - bootstrap v3
added checkings & failovers