use fetch instead of display
update smarty version
added license