smarty update