added an ajax request to update seating chart on restaurant side

fixed code to remove hard-coding