Trying to get data updating on server to work