Updated Hibenrate and validation api