changed id to server_id in api