Add alterObject method to admin extension