save fid and vid to database.
Merge remote-tracking branch 'origin/master'