[ update ] use flash to store and load frames