Update styles and behaviour