Added a reverse lookup for updating state...this is not ideal...but its going to save headaches