public void update() {

		bg1.setSpeedY(BACKGROUND_SPEED);
		bg2.setSpeedY(BACKGROUND_SPEED);

		// if speedX is less than 0, move Aisha backwards but don't scroll
		// the background
		if (speedX < 0) {
			centerX += speedX;
		}

		// if centerX is less than or equal to 200 and speedX is greater than 0,
		// move Aisha forward on the screen but don't scroll the background
		// this shit needs refactoring
		if (centerX <= 450 && speedX > 0) {
			centerX += speedX;
		}

		// stop Aisha at the bottom level
		centerY += speedY;
		if (centerY + speedY >= BOTTOM) {
			centerY = BOTTOM;
		}

		// don't let Aisha move too far up either
		if (centerY + speedY <= TOP) {
			centerY = TOP;
		}

		// Prevents going beyond X coordinate of 0
		if (centerX + speedX <= 30) {
			centerX = 31;
		}

		rec.setRect(centerX - 8, centerY - 25, 15, 50);
	}