set name and state when app-man is ready