Update the data object send to firebase

- instead of sending date object, we are going to send it as string.