public JSONObject updateRANKTag(int USER_ID,int QUESTION_ID,int ANSWER_ID, int RANK, int increased)
	{
		try {
			
					Class.forName(JDBC_DRIVER);
					conn=DriverManager.getConnection(DB_URL,USER,PASS);
				
					stmt=conn.createStatement();
					json=new JSONObject();
					
					
					String SQL="update ANSWERS set RANK ='"+RANK+"'where ANSWER_ID='"+ANSWER_ID+"'";
					//int result=stmt.executeUpdate(SQL);
					
					LocationBasedHandler object=new LocationBasedHandler();
					object.A_Vote(ANSWER_ID+"",USER_ID+"", increased);
					object=null;
					
					//if(result>0)
					//{
						
						json.put(SUCCESS, 1);
						json.put(MESSAGE, "Insertion Successful");
					
						SQL="Select * from ANSWERS where QUESTION_ID="+QUESTION_ID;
						rs=stmt.executeQuery(SQL);
						
						if(rs.isBeforeFirst())
						{
							JSONArray Answers=new JSONArray();
							JSONObject answer;
							while(rs.next())
							{
								answer=new JSONObject();
								answer.put("ANSWER", rs.getString("ANSWER"));
								answer.put("ANSWER_ID", rs.getString("ANSWER_ID"));
								answer.put("RANK", rs.getInt("RANK"));
								Answers.add(answer);
							}
							json.put("ANSWERS", Answers);
						}
					//}
					rs.close();
		        	stmt.close();	
		        	
		        	
		        	//Calling Mahesh Method
		        	Parser parseobject=new Parser();		        	
		        	parseobject.modifyRank(increased, ANSWER_ID, USER_ID, Constants.PATH);
		        	
				} catch (ClassNotFoundException e) {
					e.printStackTrace();
				} catch (SQLException e) {
					e.printStackTrace();
				}
				finally
				{
			      try{
			        	
			            if(conn!=null)
			            conn.close();
			         }catch(SQLException se){
			            se.printStackTrace();
			         }
			    }
				
				//json.put(SUCCESS, 0);
				//json.put(MESSAGE, "Sorry, couldn't Process Request");
				return(json);
	}