[#56] Handle the creation of missing images transmissions

* If the transmission is not in the database, we create it
* Return the number of affected rows in the 'update' function