Update state after importing