updateActiveState to fire server side