added and updated action listeners