Fixed bug - only collection needs to be synced with firebase