updated smarty doc