sandbox images insertion and update working