every single PUT operation has to check first if the entity exist in the database and throw 404 if such cannot be found. This applies to every single PUT API you have