install Thin server
update migration and models associations