style improvements
update dictionary