three-way data binding with firebase