updating catalog fn