modify and delete functions added