update build, use common fb code