add alert plugin and update member edit fucntion