updated services and threads