Update action take on default code button click