updated smarty