the ids of new favorite element are properly updated after the favorite is created