- Added API endpoint for updating script contents