adding fbid to tables