func update_sta does not exist