Update template

Note: first event get's fired twice..