change the smarty framework