update file by resourceId