update ui-bootstrap component