finish merge admin func