improve filerelation handling with thumbnails, update-errors handeled by exception throwing, validate filerelations before creating them