updated backend and database to handle 3 type of cooperativas