Updates readme and improves the summary function