modified db:seed functionality