On the adaptation of context-aware services