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

Uploading images is working in the admin panel