partial update to towns v13. not completed yet