Redbean + Smarty update