A......... [ZBX-7981] fixed undefined indexes when calling image.create and improved image.update