Update files endpoint