updated code sections of README