added input changes and container change