Added edit and delete status functionality.