update plugin photo