updating with current state as in Ports