updates
moved http call to server