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

It is not working unfortunately i get server error for no reason