update style and add delete item functionality