public boolean updatestate(int id, int state) {
		PreparedStatement st = null;
		try{
			st = getPreparedStatement(UpdateState);
			st.setInt(1, state);
			st.setInt(2, id);
			st.executeUpdate();
			return true;
		}
		catch(SQLException e){
			e.printStackTrace();
			log.error("Exception: update position error");
			return false;
		}
	}