Update script status

Update the status of a script with the given script keys.