update dictionary to pass more tests