Change Once to use DataSnapshot class