updating from the server