add getRatio and update assets