fix update method, add importance changing