Make states data reactive