Update project to smarty