pass all parameters when updating Firebase