add delete board function