update method of add gif resource