public boolean updateSkillScore(String employeeId, String skillName,
			int ratingId) {
		String sql = SELECT_SKILL_SCORE + employeeId + "' and skill_id="
				+ CommonUtil.getSkillId(skillName);
		Connection connection = new DbConnection().getConnection();
		PreparedStatement preparedStatement = null;
		ResultSet resultSet = null;
		Statement statement = null;
		int rating_Id = 0;
		boolean flag = false;

		try {

			statement = connection.createStatement();
			resultSet = statement.executeQuery(sql);

			while (resultSet.next()) {
				rating_Id = resultSet.getInt("rating_id");
			}
			rating_Id = Math.round((rating_Id + ratingId) / 2);
			sql = UPDATE_SKILL_SCORE + rating_Id + " where employee_id='"
					+ employeeId + "' and skill_id="
					+ CommonUtil.getSkillId(skillName);
			preparedStatement = connection.prepareStatement(sql);

			preparedStatement.executeQuery();
			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;
	}