modify of the server for get state