Update rails template