make another update() call replaced by f&modify