Update and Delete got working in hibernate