Fixes #3 - newData.id switched to newData.child('id').val()