How do I update file in a model in strapi via API?

I have tried files.attributes.thumb as well