update to seneca 0.5.0 api