changed names of params in updateDatabase method of server