public function updateUser($UserID) { // Retrieve a draft count $CountDrafts = $this->getCount($UserID); // Update CountDrafts column of user table fot this user Gdn::userModel()->setField($UserID, 'CountDrafts', $CountDrafts); }