added a little bit revised version

but update2 seems to be the best in these cases.