Small changes in network and database

Magic