correction bug update favorite
correction methode updateFavorite in func.js
correction methode dao.js

Signed-off-by: falila <soulfa23@gmail.com>