update files plus camera function