fixed obsolete enable attribute
documenting input/index attribute
various updates