action displaying correct
Prototype and update function

I got some help with Alan and finish the code