Fixing UpdateAttribute method in TTApplication