updates button actions