updating servlet and removing unneeded code