updating method assertion for collections