Operations with mongodb