Updating map to handle sequences.