def update_command(command, job_id):
    """
    Updates the given command with the necessary job_id.
    Does the replacement of %JOBID% with the job identifier
    :param command: Command to update
    :param job_id: Job identifier
    :return: The updated command as list splitter by spaces
    """
    updated_command = command.replace('%JOBID%', str(job_id)).split()
    return updated_command