updating jpg with png file