Update DB context and Image/Thumbnail entities