need to call ->EE->dbforge(); in the update function