upload new style and func