update base

pulls the needed changes in base for the refresh refactoring
switch from scaleByDPI() to scaleBySize()