@Override
	public boolean editEmployeeSkills(UserSkillSet userSkillSet) {
		String userid = userSkillSet.getUserId();
		List<SkillRating> updateList = userSkillSet.getSkills();
		Connection connection = new DbConnection().getConnection();
		PreparedStatement preparedStatement = null;
		boolean flag = false;
		try {
			Iterator<SkillRating> iterator = updateList.iterator();
			while (iterator.hasNext()) {
				SkillRating skillRating = iterator.next();
				int skillId = CommonUtil.getSkillId(skillRating.getSkillName());
				int ratingId = skillRating.getRatingId();
				String givenBy = userid;
				String sql = UPDATE_EMPLOYEE_SKILL_RATING + ratingId
						+ " where employeeId='" + userid + "' and skillId="
						+ skillId + " and givenBy='" + givenBy +"'";
				preparedStatement = connection.prepareStatement(sql);
				preparedStatement.executeUpdate();
			}
			flag = true;
		} catch (SQLException e) {
			m_logger.error(e.getMessage(), e);
		} finally {
			try {
				if (connection != null)
					connection.close();
				if (preparedStatement != null)
					preparedStatement.close();
			} catch (SQLException e) {
				m_logger.error(e.getMessage(), e);
			}
		}
		return flag;
	}