updated readme with correct code example