added opatch to db module