apgw_db: write back to scaftron