Update fb_core.py