Store last modified date per input, small improves