invokes method changed