upgrade macro for dbext