Update get permission, and add public function mget maskname