added dateplanID to the fav table