Enhancing competences in contexts: complexity in residential child care