Insertion in the db works as loading