Create secret token before trying to update local database in dev setup