updates for facebook and frontend