adding update functionality for resource_params and interval