UPDATE biens, biens_details SET photo5='173_5.jpg', publier_photo5 = '0' WHERE biens.idBien = biens_details.idBien AND biens.idBien=173