Add update and draw functions to dragon