refactored update writing scaled scores