init condition update
flat function update
harry potter