JpaGoalDao: Changed return type and exceptions according to GoalDao interface and changed logic of updateGoal method