Update file API endpoints