updated ajax on index and schedule views