update flap