There is a new REST endpoint to update attachment info, see https://github.com/eclipse/sw360/pull/1190. So we should add an `update_attachment` function.