Add ajax_flag action for chains status changes. Update the documentation