collection conditions and updating