update status codes for cloud scripts