Object photo code update fixed