Creating function to sync pass storage