update plugin that send data to firebase