Model changing hanlder added