now saving image records to mongo