working, no update on parent scope