updated code so the flego blocks data was getting pulled in