Updated addAttribute and removeAttribute method
Initial implementation of removeAttribute method