updates for server logic