update to latest samara api