update smarty plugin