Modified sites controller to allow for record update from API