updating extentions handling.