Updating typescript definitions