Fixed the on update issue 

Fixed the update issue, was just 2 uppercase D's instead of 2 lowercase d's. Also deleted some commented code, and removed some console logs.