added update define in favorites