updated Facebook functionality