Update delete function and page style