update fb function