rename favorite,update db using