Update Event - xp.rb
for IF part and VARIABLE part.