update scale factors