remove function staff update his leave