sending db to server