updated end screen sync on firebase