edit retirve and create servlet